package com.bwie.dao;

import java.util.List;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import com.bwie.entity.Article;
import com.bwie.entity.QueryVo;

public interface ArticleDao {
	
	List<Article> list(QueryVo qv);
	
     @Insert("INSERT INTO `zhoukao7_26`.`article` (`id`, `zhaiyao`, `title`, `content`, `pic`, `time`) VALUES (NULL, #{zhaiyao}, #{title}, #{content}, #{pic}, now())")
	int add(Article article);
}
